//
//  SKViewController.swift
//  玩玩,传递
//
//  Created by yanli on 16/7/14.
//  Copyright © 2016年 mountainPassCell. All rights reserved.
//

import UIKit


//http://baike.baidu.com/link?url=PHao0shdzSfG8rtfsna5RPtwV2UuLbzWykMG55pbTCoFWm8oXPt6mH4zspHQRKk6Oef5bzQgOfhsZ26EavWqelT5E67NX99jSFXIu-NJyQiB-IrcmnARJNWh20nkJTum
//
class SKViewController: UIViewController {

    private lazy var xianWebView: UIWebView = {
       
        var xianWB = UIWebView()
        
        let url = NSURL(string: "http:baike.baidu.com/link?url=PHao0shdzSfG8rtfsna5RPtwV2UuLbzWykMG55pbTCoFWm8oXPt6mH4zspHQRKk6Oef5bzQgOfhsZ26EavWqelT5E67NX99jSFXIu-NJyQiB-IrcmnARJNWh20nkJTum")
        
        let request = NSURLRequest(URL: url!)
        
        xianWB.loadRequest(request)
        
        return xianWB
    }()
    
    
    
    
    override func viewDidLoad() {
        super.viewDidLoad()

        navigationItem.title = "诛仙-青云志"
        
        view = xianWebView
        
        
        
        
        view.backgroundColor = UIColor.darkGrayColor()
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
